package com.ruoyi.xdata.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import javax.validation.constraints.NotNull;
import lombok.Data;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 传输日志对象 xdata_log
 * 
 * @author yepanpan
 * @date 2025-02-14
 */
@Data
public class XdataLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长主键 */
    private Long id;

    /** 通道ID */
    @Excel(name = "通道ID")
    @NotNull
    private Long kettleId;

    /** 通道名称 */
    @Excel(name = "通道名称")
    @NotNull
    private String kettleName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @NotNull
    private Date endTime;

    /** 结果 */
    @Excel(name = "结果", dictType="ext_result", comboReadDict=true)
    @NotNull
    private String result;

    /** 错误说明 */
    @Excel(name = "错误说明")
    private String error;


}
